<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<!--页面导航-->
		<div class="alert alert-success" role="alert">
			网站导航管理&nbsp;>&nbsp;编辑网站导航
		</div>
		<p>
			<a href="<?php echo U('Webset/sitenav')?>" class="btn btn-info btn-sm">返回</a>
		</p>

		<form action="" method="post" id="navform">
		<table class="table table-hover">
			<tr class="msg-tr">
				<th class="w230">导航名称</th>
				<th>分类ID</th>
				<th class="w200">导航排序</th>
			</tr>
			<tr>
				<td class="w230"><input type="text" name="navname" value="<?php echo $oldData['navname']?>" class="form-control w200"/></td>
				<td>
					<div style="width: 120px; float: left;">分类ID: <?php echo $oldData['cate_id']?></div>
					
					<div style="width: 220px; float: left;">
					<select name="cate_id" id="cate_id" class="form-control">
						<option value="">-请选择-</option>
						<?php foreach ($gcateData as $v){?>
						<option value="<?php echo $v['cate_id']?>" <?php if($oldData['cate_id']==$v['cate_id']){?>
                selected="selected"
               <?php }?> ><?php echo $v['_name']?></option>
						<?php }?>
					</select>
					</div>
				</td>
				<td class="w200">
					<input type="text" name="navsort" value="<?php echo $oldData['navname']?>" class="form-control  w100"/>
				</td>
				<td class="w200"></td>
			</tr>
		</table>
		<button class="btn btn-primary btn-block" type="submit"> 保存修改 </button>
		</form>
	</body>
</html>
